import axios from "axios";
import { defineStore } from "pinia";

export const useLoveTolkStore = defineStore('loveTalk', ({
    actions: {
        async getTalk() {
            let result = await axios.get('https://v1.hitokoto.cn/')
        }
    },
    state() {
        return {
            loveTalkList: [{
                id: '111', content: '这是情话1'
            }]
        }
    }
}))